<template>
	<el-row class="tablediv">

	  <div style="width: 100%;height: 100%;">
      <div style=" display: flex;justify-content:flex-end;width: 100%;">
        <el-button type="danger" @click="guanbi" style="width: 70px;">关闭</el-button>

      </div>

      <!-- 富文本 -->
      <div   v-html="data" style="width: 100%;">

      </div>



    </div>

	</el-row>
</template>

<script>
	export default {
	  name: "newsXiangqing",
	  props: {
      Newxiangqingdata: {
           type: String,
           default: "",
          },
	  },
	  data() {
	    return { 
	     data:''
	    };
	  },

		created() {
      this.data = this.Newxiangqingdata

		},
	  methods: {

	   //关闭回调
	   guanbi(){
		   // console.log(event)
		   this.$emit('WLxiangqingguanbi', '2');

	   }
	  }

};


</script>

<style>
	.tablediv {
		width: 1200px;
		min-height: 940px;
		padding: 30px;
		background-color: #ffffff;
		margin-bottom: 20px;
	}
	.wlmainW {
		width: 1200px;
	}

</style>
